#include "httplib.h"

#define SERVER_IP "101.37.80.205"
#define SERVER_POST 9090

int main()
{
  httplib::Client client(SERVER_IP, SERVER_POST);

  httplib::MultipartFormData item;
  item.name = "file";
  item.filename = "hello.txt";
  item.content = "Hello World!";
  item.content_type = "text/plain";

  httplib::MultipartFormDataItems items;
  items.push_back(item);

  auto res = client.Post("/multipart", items);
  std::cout << res->status << std::endl;
  std::cout << res->body << std::endl;
  return 0;
}
